<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>icon 图标栏</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .head-nav{
            display: flex;
            justify-content: space-between;
            padding: 10px;
            border-bottom: 1px solid #EEF0F4;
        }
        body{
            background: #F9F9FB;
        }

        .iconBar{
            display: flex;
            justify-content: space-around;
            margin: 10px 20px;
            padding: 20px;
            background: #fff;
            text-align: center;
            color: #666;
            font-size: 12px;
        }
        .iconBar .item img{
            width: 30px;
            height: 30px;
        }

    </style>
</head>
<body>
    <div class="head-nav">
        <div onclick="history.go(-1)">《</div>
        <div>icon 图标栏</div>
        <div></div>
    </div>

    <div class="list">
        <div style="margin-left: 20px;">居中对齐</div>
        <div class="iconBar">
            <div class="item">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon1@2x.png" alt="">
                <div>每日签到</div>
            </div>
            <div class="item">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon2@2x.png" alt="">
                <div>完善资料</div>
            </div>
            <div class="item">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon3@2x.png" alt="">
                <div>购物消费</div>
            </div>
        </div>

        <div style="margin-left: 20px;">左右对齐</div>
        <div class="iconBar" style="justify-content: space-around;">
            <div class="item">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon1@2x.png" alt="">
                <div>每日签到</div>
            </div>
            <div class="item">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon2@2x.png" alt="">
                <div>完善资料</div>
            </div>
            <div class="item">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon3@2x.png" alt="">
                <div>购物消费</div>
            </div>
            <div class="item">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon3@2x.png" alt="">
                <div>购物消费</div>
            </div>
        </div>

        <div style="margin-left: 20px;">左对齐</div>
        <div class="iconBar" style="justify-content: flex-start;">
            <div class="item" style="margin-right: 20px;">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon1@2x.png" alt="">
                <div>每日签到</div>
            </div>
            <div class="item" style="margin-right: 20px;">
                <img src="http://testshop.jianuohuiyuan.com/addons/index19/img/balav2/icon2@2x.png" alt="">
                <div>完善资料</div>
            </div>
        </div>

    </div>
</body>
</html>